#!/bin/sh
# apt-get install imagemagick

DIM=100x100
RANGE="0 100 200 300 400 500 600 700"

for i in $RANGE
do
  for j in $RANGE
  do
    echo convert $1 -crop $DIM+$i+$j $j.$i.jpeg
    convert $1 -crop $DIM+$i+$j $j.$i.jpeg
  done
done
